class Level < ActiveRecord::Base
  set_table_name "nivel"

  has_many :disciplina
  has_many :option
  
  validates_presence_of :id
  validates_presence_of :nome
  validates_presence_of :nomefeminino
  validates_presence_of :nomemasculino
  validates_uniqueness_of :id

  def to_s
    self.nome
  end

end
